package com.example.demo.user.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.topic.vo.TFansRecordVo;
import com.example.demo.user.entity.UServiceUser;
import com.example.demo.user.vo.ServiceUserVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 服务人员表; Mapper 接口
 * </p>
 *
 * @author 涛
 * @since 2024-08-01
 */
public interface UServiceUserMapper extends BaseMapper<UServiceUser> {

    /**
     * 账号管理查询服务人员用户列表
     */
    Page<ServiceUserVo> getUserList(Page<ServiceUserVo> page,@Param(Constants.WRAPPER) Wrapper<ServiceUserVo> queryWrapper);

    /**
     * 移动端查看运营人员信息
     */
    ServiceUserVo getUserById2(Integer id);


    Page<TFansRecordVo> getAdviceUserList(Page<TFansRecordVo> page);

}
